<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : RevoluteJoint</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='RevoluteJoint::RevoluteJoint'>RevoluteJoint</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li><a href='Joint.html#Joint::Joint'>Joint</a></li></ul>
</section>

</section>

<section id="summary">

 A revolute joint constrains two bodies to share a common point while they
 are free to rotate about the point. The relative rotation about the shared
 point is the joint angle. You can limit the relative rotation with
 a joint limit that specifies a lower and upper angle. You can use a motor
 to drive the relative rotation about the shared point. A maximum motor torque
 is provided so that infinite forces are not generated.
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='Vector3.html#Vector3::Vector3'>Vector3</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::impulse'>impulse
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::jointAngle'>jointAngle
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::jointSpeed'>jointSpeed
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='bool.html#bool::bool'>bool</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::limitEnabled'>limitEnabled
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::limitState'>limitState
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::localAnchor1'>localAnchor1
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Vector.html#Vector::Vector'>Vector</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::localAnchor2'>localAnchor2
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::lowerAngle'>lowerAngle
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='Matrix33.html#Matrix33::Matrix33'>Matrix33</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::mass'>mass
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::maxMotorTorque'>maxMotorTorque
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='bool.html#bool::bool'>bool</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::motorEnabled'>motorEnabled
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::motorMass'>motorMass
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::motorSpeed'>motorSpeed
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::motorTorque'>motorTorque
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::referenceAngle'>referenceAngle
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='num.html#num::num'>num</a></code></code></span>
<span class="field-name"><code><a name='RevoluteJoint::upperAngle'>upperAngle
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='RevoluteJoint.html#RevoluteJoint::RevoluteJoint'>RevoluteJoint</a>(<code><a href='RevoluteJointDef.html#RevoluteJointDef::RevoluteJointDef'>RevoluteJointDef</a></code> <a name='RevoluteJoint::::def'>def</a>)</code>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>void <a name='RevoluteJoint::getAnchorA'>getAnchorA</a>(<code><a href='Vector.html#Vector::Vector'>Vector</a></code> <a name='RevoluteJoint::getAnchorA::argOut'>argOut</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='RevoluteJoint::getAnchorB'>getAnchorB</a>(<code><a href='Vector.html#Vector::Vector'>Vector</a></code> <a name='RevoluteJoint::getAnchorB::argOut'>argOut</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='RevoluteJoint::getReactionForce'>getReactionForce</a>(<code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::getReactionForce::inv_dt'>inv_dt</a>, <code><a href='Vector.html#Vector::Vector'>Vector</a></code> <a name='RevoluteJoint::getReactionForce::argOut'>argOut</a>)</code></dt>
<dd>
</dd>
<dt>
<code><code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::getReactionTorque'>getReactionTorque</a>(<code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::getReactionTorque::inv_dt'>inv_dt</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='RevoluteJoint::initVelocityConstraints'>initVelocityConstraints</a>(<code><a href='TimeStep.html#TimeStep::TimeStep'>TimeStep</a></code> <a name='RevoluteJoint::initVelocityConstraints::step'>step</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='RevoluteJoint::setLimits'>setLimits</a>(<code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::setLimits::lower'>lower</a>, <code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::setLimits::upper'>upper</a>)</code></dt>
<dd>
</dd>
<dt>
<code><code><a href='bool.html#bool::bool'>bool</a></code> <a name='RevoluteJoint::solvePositionConstraints'>solvePositionConstraints</a>(<code><a href='num.html#num::num'>num</a></code> <a name='RevoluteJoint::solvePositionConstraints::baumgarte'>baumgarte</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='RevoluteJoint::solveVelocityConstraints'>solveVelocityConstraints</a>(<code><a href='TimeStep.html#TimeStep::TimeStep'>TimeStep</a></code> <a name='RevoluteJoint::solveVelocityConstraints::step'>step</a>)</code></dt>
<dd>
</dd>
</dl>
</section>

<footer></footer>

</body></html>
